<?php
class WLocationAdminDelete extends UDeleteWorklet
{	
	public $modelClassName = array('MLocationPreset' => 'id', 'MLocationI18N' => 'locationId');
	
	public function accessRules()
	{
		return array(
			array('allow', 'roles' => array('administrator')),
			array('deny', 'users'=>array('*'))
		);
	}
}